import Taro from '@tarojs/taro'

const contactDialog = () => {
  Taro.showModal({
    title: '提示',
    content: '请添加客服微信：TengAIhealth',
    mask: true,
    confirmText: '复制',
    confirmColor: '#47C690',
    cancelColor: '#595959',
    success: async res => {
      if (res.confirm) {
        await Taro.setClipboardData({ data: 'TengAIhealth' })
        await Taro.showToast({ icon: 'none', title: '复制成功' })
      }
    }
  })
}
export default contactDialog
